package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-25
 * Time: 22:40
 */
// 实现类：必须重写 conflict()
public class ImplementationClassA implements InterfaceA,InterfaceB{
    @Override
    public void conflict() {
        // 选择保留 InterfaceA 的默认逻辑
        InterfaceA.super.conflict();
        System.out.println("实现类A解决冲突后的方法");
    }
}
